package com.zxy.dao;

import com.zxy.model.RolePermissions;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface RolePermissionsDao {
    int delete(RolePermissions record);

    int insert(RolePermissions record);

    int deleteByRoleId(Integer rid);

    int deleteByPermissionId(Integer pid);
}
